package io.github.wppli.domain.user.model.entity;

import io.github.wppli.domain.user.event.AdjustUserFollowedEvent;
import io.github.wppli.types.event.BaseEvent;
import io.github.wppli.types.event.TaskStateVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 关注 - 取关 任务实体
 * @author li--jiaqiang 2025−03−03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FollowTaskEntity {
    /** 活动ID */
    private String userId;
    /** 消息主题 */
    private String topic;
    /** 消息编号 */
    private String messageId;
    /** 消息主体 */
    private BaseEvent.EventMessage<AdjustUserFollowedEvent.AdjustUserFollowedMessage> message;
    /** 任务状态；create-创建、completed-完成、fail-失败 */
    private TaskStateVO state;
}